<?php
/**
 * Created by PhpStorm.
 * User: 87976
 * Date: 2018/3/8
 * Time: 15:51
 */

namespace App\Services\Users;


use App\Repositories\Users\AdminUsersRepository;

/**
 * Class AdminUserService
 * @package App\Services\Users
 */
class AdminUserService
{

    /**
     * @var AdminUsersRepository
     */
    protected $usersRepository;

    /**
     * AdminUserService constructor.
     * @param AdminUsersRepository $usersRepository
     */
    public function __construct(AdminUsersRepository $usersRepository)
    {
        $this->usersRepository = $usersRepository;
    }

    /**
     * @author Jerry
     * @return mixed
     */
    public function findAdminUsers()
    {
        return $this->usersRepository->findAdminUsers();
    }
}